module full_adder (A,B,Cin,Cout,S);
	// Ins/outs
	input A,B,Cin;
	output Cout, S;
	
	// Function implementation
	assign Cout = (A&Cin) | (A&B) | (B&Cin);
	assign S    = A ^ B ^ Cin;
endmodule
